package com.hymall.mapper;

import com.hymall.bean.MarketStorage;
import com.hymall.bean.MarketStorageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 在key上加了`key`
 *
 * @author: 叶熠彬
 * @date: 2022/7/18 14:49
 * @param:
 * @return:
 */
public interface MarketStorageMapper {
    long countByExample(MarketStorageExample example);

    int deleteByExample(MarketStorageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(@Param("record") MarketStorage record);

    int insertSelective(MarketStorage record);

    List<MarketStorage> selectByExample(MarketStorageExample example);

    MarketStorage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketStorage record, @Param("example") MarketStorageExample example);

    int updateByExample(@Param("record") MarketStorage record, @Param("example") MarketStorageExample example);

    int updateByPrimaryKeySelective(MarketStorage record);

    int updateByPrimaryKey(MarketStorage record);

    // int UploadPic(@Param("marketStorage") MarketStorage marketStorage);

}